package com.southpark.demo.control
{
	import com.southpark.demo.control.commands.config.GetConfigSettingsCommand;
	import com.southpark.demo.control.commands.config.LoadThemeCommand;
	import com.southpark.demo.control.commands.data.GetDataCommand;
	import com.southpark.demo.control.commands.data.SetDataCommand;
	import com.southpark.demo.control.commands.info.AddConfirmationCommand;
	import com.southpark.demo.control.commands.info.AddUserErrorCommand;
	import com.southpark.demo.control.commands.navigation.AddPageCommand;
	import com.southpark.demo.control.commands.navigation.AddPopUpCommand;
	import com.southpark.demo.control.commands.user.UserLoginCommand;
	import com.southpark.demo.control.events.config.GetConfigSettingsEvent;
	import com.southpark.demo.control.events.config.LoadThemeEvent;
	import com.southpark.demo.control.events.data.GetDataEvent;
	import com.southpark.demo.control.events.data.SetDataEvent;
	import com.southpark.demo.control.events.info.AddInfoEvent;
	import com.southpark.demo.control.events.navigation.AddPageEvent;
	import com.southpark.demo.control.events.navigation.AddPopUpEvent;
	import com.southpark.demo.control.events.user.UserLoginEvent;
	
	
	public class CommandMap
	{

		static public const COMMAND_MAP:Array =
		[
			[GetConfigSettingsEvent.GET_CONFIG_SETTINGS_EVENT,GetConfigSettingsCommand],
			[LoadThemeEvent.LOAD_THEME_EVENT,LoadThemeCommand],
			
			[AddPopUpEvent.ADD_POP_UP_EVENT,AddPopUpCommand],
			[AddPageEvent.ADD_PAGE_EVENT,AddPageCommand],			
			[AddInfoEvent.ADD_CONFIRMATION,AddConfirmationCommand],
			[AddInfoEvent.ADD_USER_ERROR,AddUserErrorCommand],
			
			[UserLoginEvent.USER_LOGIN_EVENT,UserLoginCommand],
			
			[GetDataEvent.GET_DATA_1_EVENT,GetDataCommand],
			[GetDataEvent.GET_DATA_2_EVENT,GetDataCommand],
			[SetDataEvent.SET_DATA_EVENT,SetDataCommand],
		
		];

	}
}